package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆电池更换记录对象 t_battery_replacement_record
 * 
 * @author wuliuzhen
 * @date 2025-10-01
 */
public class TBatteryReplacementRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 车辆型号 */
    @Excel(name = "车辆型号")
    private String vehicleModel;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String vehicleNumber;

    /** 原车额定电压 V */
    @Excel(name = "原车额定电压 V")
    private BigDecimal originalRatedVoltage;

    /** 原车额定容量 Ah/kWh */
    @Excel(name = "原车额定容量 Ah/kWh")
    private String originalRatedCapacity;

    /** 拟更换额定电压 V */
    @Excel(name = "拟更换额定电压 V")
    private BigDecimal plannedReplacementVoltage;

    /** 拟更换装电量 Ah/kWh */
    @Excel(name = "拟更换装电量 Ah/kWh")
    private String plannedReplacementCapacity;

    /** 额定电压 */
    @Excel(name = "额定电压")
    private BigDecimal actualRatedVoltage;

    /** 装电量 */
    @Excel(name = "装电量")
    private String actualInstalledCapacity;

    /** 更换时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "更换时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replacementTime;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 租户信息 */
    @Excel(name = "租户信息")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setVehicleModel(String vehicleModel) 
    {
        this.vehicleModel = vehicleModel;
    }

    public String getVehicleModel() 
    {
        return vehicleModel;
    }

    public void setVehicleNumber(String vehicleNumber) 
    {
        this.vehicleNumber = vehicleNumber;
    }

    public String getVehicleNumber() 
    {
        return vehicleNumber;
    }

    public void setOriginalRatedVoltage(BigDecimal originalRatedVoltage) 
    {
        this.originalRatedVoltage = originalRatedVoltage;
    }

    public BigDecimal getOriginalRatedVoltage() 
    {
        return originalRatedVoltage;
    }

    public void setOriginalRatedCapacity(String originalRatedCapacity) 
    {
        this.originalRatedCapacity = originalRatedCapacity;
    }

    public String getOriginalRatedCapacity() 
    {
        return originalRatedCapacity;
    }

    public void setPlannedReplacementVoltage(BigDecimal plannedReplacementVoltage) 
    {
        this.plannedReplacementVoltage = plannedReplacementVoltage;
    }

    public BigDecimal getPlannedReplacementVoltage() 
    {
        return plannedReplacementVoltage;
    }

    public void setPlannedReplacementCapacity(String plannedReplacementCapacity) 
    {
        this.plannedReplacementCapacity = plannedReplacementCapacity;
    }

    public String getPlannedReplacementCapacity() 
    {
        return plannedReplacementCapacity;
    }

    public void setActualRatedVoltage(BigDecimal actualRatedVoltage) 
    {
        this.actualRatedVoltage = actualRatedVoltage;
    }

    public BigDecimal getActualRatedVoltage() 
    {
        return actualRatedVoltage;
    }

    public void setActualInstalledCapacity(String actualInstalledCapacity) 
    {
        this.actualInstalledCapacity = actualInstalledCapacity;
    }

    public String getActualInstalledCapacity() 
    {
        return actualInstalledCapacity;
    }

    public void setReplacementTime(Date replacementTime) 
    {
        this.replacementTime = replacementTime;
    }

    public Date getReplacementTime() 
    {
        return replacementTime;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vehicleModel", getVehicleModel())
            .append("vehicleNumber", getVehicleNumber())
            .append("originalRatedVoltage", getOriginalRatedVoltage())
            .append("originalRatedCapacity", getOriginalRatedCapacity())
            .append("plannedReplacementVoltage", getPlannedReplacementVoltage())
            .append("plannedReplacementCapacity", getPlannedReplacementCapacity())
            .append("actualRatedVoltage", getActualRatedVoltage())
            .append("actualInstalledCapacity", getActualInstalledCapacity())
            .append("replacementTime", getReplacementTime())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("deptId", getDeptId())
            .toString();
    }
}
